import { defineStore } from 'pinia'

export const useStore = defineStore('useStore', {
  state: () => {
    return {
        isCollapse:false //menu collapse
    }
  },
  getters: {
    // doubleCount: (state) => state.count * 2,
  },
  actions: {
    isCollapseSwitch(){
      this.isCollapse=!this.isCollapse
    }
  },
})